<template>
	<view class="container-box">
		<u-parse :content="info.content"></u-parse>
	</view>
</template>
<script>
	import {
		activityNoticeInfo
	} from '@/api/axios/Message.js'
	export default {
		props: {
			detailId: {
				type: String
			}
		},

		data() {
			return {
				info: {}
			}
		},
		methods: {

		},
		mounted() {
			let openId = uni.getStorageSync('openId')
			activityNoticeInfo({
				params: {
					id: this.detailId,
					openId
				}
			}).then(res => {
				this.info = res
			})
		}
	}
</script>
<style lang="scss" scoped>
	.rich img {
		width: 100%;
	}

	.container-box {
		padding: 20rpx;

		img {
			width: 100%;
		}
	}
</style>